package com.cn.domain;

import java.io.Serializable;

/**
 * 订单清单
 */
public class OrderDetail implements Serializable{

    private long hod_id;                        //详细订单编号
    private long ho_id;                         //订单编号
    private long hp_id;                     //商品ID
    private long hod_quantity;  //商品数量
    private long hod_cost;  //订单价格   一种商品的价格
    
    private Product product;           //商品      外键
    private Order order;        //订单      外键

    
    public long getHod_id() {
        return hod_id;
    }

    public void setHod_id(long hod_id) {
        this.hod_id = hod_id;
    }

    public long getHo_id() {
        return ho_id;
    }

    public void setHo_id(long ho_id) {
        this.ho_id = ho_id;
    }

    public long getHp_id() {
        return hp_id;
    }

    public void setHp_id(long hp_id) {
        this.hp_id = hp_id;
    }

    public long getHod_quantity() {
        return hod_quantity;
    }

    public void setHod_quantity(long hod_quantity) {
        this.hod_quantity = hod_quantity;
    }

    public long getHod_cost() {
        return hod_cost;
    }

    public void setHod_cost(long hod_cost) {
        this.hod_cost = hod_cost;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }
}
